package appapi.Vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author djq
 * @date 2023/6/1 16:21
 * @description:
 */

@Data
@ApiModel
public class GetEquipOperPageVo {

    /**
     * 设备-人员id
     */
    @ApiModelProperty(value = "设备-人员id")
    private Long equipOperId;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    private Long equipId;

    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型")
    @Excel(name = "设备类型",orderNum = "1",width = 20)
    private String equipTypeName;

    /**
     * 设备别名
     */
    @ApiModelProperty(value = "设备别名")
    @Excel(name = "设备别名",orderNum = "2",width = 20)
    private String equipName;

    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号",orderNum = "3",width = 20)
    private String equipModel;

    /**
     * 所在项目
     */
    @ApiModelProperty(value = "所在项目")
    private String projName;

    /**
     * 所在公司
     */
    @ApiModelProperty(value = "所在公司")
    @Excel(name = "所属机构",orderNum = "4",width = 20)
    private String orgaName;

    /**
     * 操作员Id
     */
    @ApiModelProperty(value = "操作员Id")
    private Long operId;

    /**
     * 操作员姓名
     */
    @ApiModelProperty(value = "操作员姓名")
    @Excel(name = "设备操作员",orderNum = "5",width = 20)
    private String operName;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    @Excel(name = "性别",orderNum = "6",width = 20,replace ={"男_0","女_1"})
    private String operSex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄")
    @Excel(name = "年龄",orderNum = "7",width = 20)
    private Integer operAge;

    /**
     * 准操作项目
     */
    @ApiModelProperty(value = "准操作项目")
    @Excel(name = "准操作项目",orderNum = "8",width = 20)
    private String operItemName;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime operBirthday;

}
